package com.qyer.lxp.model.availability.parameter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created by jiangping on 16/5/12.
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class AdditionalOption implements Serializable {
    private static final long serialVersionUID = 7718220734057583848L;

    /**
     * 附加选项code
     */
    @XmlElement(name = "option-code")
    private String optionCode;

    /**
     * 数量
     */
    private int num;

    public String getOptionCode() {
        return optionCode;
    }

    public void setOptionCode(String optionCode) {
        this.optionCode = optionCode;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "AdditionalOption{" +
                "optionCode='" + optionCode + '\'' +
                ", num=" + num +
                '}';
    }
}
